home *** CD-ROM | disk | FTP | other *** search
- global gW
-
- on regjobMark
- repeat with i = 1030 to 1037
- set the regPoint of cast i to point(320, 240)
- end repeat
- end
-
- on settextscripts
- repeat with i = 1202 to 1306
- set the scriptText of cast i to the scriptText of cast 1201
- end repeat
- end
-
- on regjob a, b, c, d
- if the paramCount < 4 then
- set p to point(320, 240)
- else
- set p to point(c, d)
- end if
- repeat with i = a to b
- set the regPoint of cast i to p
- end repeat
- end
-
- on setscripts a, b, c
- set a to the scriptText of cast a
- repeat with i = b to c
- set the scriptText of cast i to a
- end repeat
- end
-
- on clrText a, b
- set p to the paramCount
- if not p then
- set a to 708
- set b to 791
- else
- if p = 1 then
- set b to a
- else
- if p > 2 then
- put "- use 2 arguments only"
- exit
- end if
- end if
- end if
- repeat with i = a to b
- set the text of cast i to " "
- set the textFont of cast i to "helvetica"
- end repeat
- end
-
- on listDuds a, b
- repeat with i = a to b
- go(i)
- repeat with j = 1 to 48
- set n to the castNum of sprite j
- if not n then
- next repeat
- next repeat
- end if
- if the castType of cast n = #empty then
- put i && j
- end if
- end repeat
- end repeat
- end
-
- on findSpr a, b, c
- repeat with i = a to b
- go(i)
- repeat with j = 1 to 48
- set n to the castNum of sprite j
- if not n then
- next repeat
- next repeat
- end if
- if n = c then
- put i && j
- end if
- end repeat
- end repeat
- end
-
- on clrNames a, b, c
- if not c then
- set c to EMPTY
- end if
- repeat with i = a to b
- set the name of cast i to c
- end repeat
- end
-
- on manualExport a, b
- if objectp(gW) then
- gW(mdispose)
- end if
- set gW to FileIO(mnew, "write", the pathName & "LANG.txt")
- set data to EMPTY
- repeat with i = a to b
- put "#" & the name of cast i & RETURN & the text of cast i after data
- if not (i = b) then
- put RETURN & "**" & RETURN after data
- end if
- end repeat
- gW(mWriteString, data)
- gW(mdispose)
- end
-